package com.hejjon.syyapi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 *  数据源(对应一个MySQL数据库)实体
 * Created by caoshi at 13:54 2021-10-10
 */
@Data
@Entity
@Table(name = "t_db_info")
public class XDbInfo {

    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "name")
    private String name;

    @Column(name = "alias")
    private String alias;

    @Column(name = "description")
    private String description;

    @Column(name = "viewname")
    private String viewName;

    @Column(name = "conn_info")
    private String connInfo;

    @Column(name = "createtime")
    private Date createTime;

    @Column(name = "updatetime")
    private Date updateTime;

}


